package com.microframework.base.data.config.base;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class WebSocketConnectionConfig extends BaseConnectionConfig {
    private String url;
    private List<String> protocols = new ArrayList<>();
    private Map<String, String> headers = new HashMap<>();
    private boolean autoReconnect = true;
    private long reconnectInterval = 5000;
}